<?php
return [
    // 模板替换规则
    'TMPL_PARSE_STRING'   => [
        '__PUBLIC__' => __ROOT__ . '/Public',
        '__JS__'     => __ROOT__ . '/Public/Js',
        '__CSS__'    => __ROOT__ . '/Public/Css',
        '__IMAGE__'  => __ROOT__ . '/Public/Image',
        '__DATA__'   => __ROOT__ . '/Public/Data',
    ],

    // 调试模式
    'DEV'             => false,

    // 是否记录pv
    'PV'              => true,

    // 模块路由
    'URL_ROUTER_ON'   => true,
    'URL_ROUTE_RULES' => [
        'news/:id' => 'news/read',
    ],
];
